package com.leyou.item.domain;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "sys_user")
public class User {
    /**
     *
     */
    @Id
    @KeySql(useGeneratedKeys=true)
    private Integer id;

    /**
     * 用户名称
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * true开启false关闭
     */
    private Boolean status;

    /*
    创建时间
     */
    private Date createTime;
}

